Optimal. Leaf size=108 \[ -\frac {(2 a-b) \tanh ^{-1}\left (\frac {\sqrt {a+b \sin ^4(c+d x)}}{\sqrt {a}}\right )}{4 a^{3/2} d}-\frac {\csc ^4(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{4 a d}+\frac {\csc ^2(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{a d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.18, antiderivative size = 108, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.240, Rules used = {3229, 1807, 807, 266, 63, 208} \[ -\frac {(2 a-b) \tanh ^{-1}\left (\frac {\sqrt {a+b \sin ^4(c+d x)}}{\sqrt {a}}\right )}{4 a^{3/2} d}-\frac {\csc ^4(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{4 a d}+\frac {\csc ^2(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{a d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 208
Rule 266
Rule 807
Rule 1807
Rule 3229
Rubi steps
\begin {align*} \int \frac {\cot ^5(c+d x)}{\sqrt {a+b \sin ^4(c+d x)}} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {(1-x)^2}{x^3 \sqrt {a+b x^2}} \, dx,x,\sin ^2(c+d x)\right )}{2 d}\\ &=-\frac {\csc ^4(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{4 a d}-\frac {\operatorname {Subst}\left (\int \frac {4 a-(2 a-b) x}{x^2 \sqrt {a+b x^2}} \, dx,x,\sin ^2(c+d x)\right )}{4 a d}\\ &=\frac {\csc ^2(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{a d}-\frac {\csc ^4(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{4 a d}+\frac {(2 a-b) \operatorname {Subst}\left (\int \frac {1}{x \sqrt {a+b x^2}} \, dx,x,\sin ^2(c+d x)\right )}{4 a d}\\ &=\frac {\csc ^2(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{a d}-\frac {\csc ^4(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{4 a d}+\frac {(2 a-b) \operatorname {Subst}\left (\int \frac {1}{x \sqrt {a+b x}} \, dx,x,\sin ^4(c+d x)\right )}{8 a d}\\ &=\frac {\csc ^2(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{a d}-\frac {\csc ^4(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{4 a d}+\frac {(2 a-b) \operatorname {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b \sin ^4(c+d x)}\right )}{4 a b d}\\ &=-\frac {(2 a-b) \tanh ^{-1}\left (\frac {\sqrt {a+b \sin ^4(c+d x)}}{\sqrt {a}}\right )}{4 a^{3/2} d}+\frac {\csc ^2(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{a d}-\frac {\csc ^4(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{4 a d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 2.90, size = 141, normalized size = 1.31 \[ -\frac {2 a^{3/2} \tanh ^{-1}\left (\frac {\sqrt {a+b \sin ^4(c+d x)}}{\sqrt {a}}\right )-4 a \csc ^2(c+d x) \sqrt {a+b \sin ^4(c+d x)}+b \sqrt {a+b \sin ^4(c+d x)} \left (\frac {a \csc ^4(c+d x)}{b}-\frac {\tanh ^{-1}\left (\sqrt {\frac {b \sin ^4(c+d x)}{a}+1}\right )}{\sqrt {\frac {b \sin ^4(c+d x)}{a}+1}}\right )}{4 a^2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.65, size = 371, normalized size = 3.44 \[ \left [-\frac {{\left ({\left (2 \, a - b\right )} \cos \left (d x + c\right )^{4} - 2 \, {\left (2 \, a - b\right )} \cos \left (d x + c\right )^{2} + 2 \, a - b\right )} \sqrt {a} \log \left (\frac {8 \, {\left (b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + 2 \, \sqrt {b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b} \sqrt {a} + 2 \, a + b\right )}}{\cos \left (d x + c\right )^{4} - 2 \, \cos \left (d x + c\right )^{2} + 1}\right ) + 2 \, \sqrt {b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b} {\left (4 \, a \cos \left (d x + c\right )^{2} - 3 \, a\right )}}{8 \, {\left (a^{2} d \cos \left (d x + c\right )^{4} - 2 \, a^{2} d \cos \left (d x + c\right )^{2} + a^{2} d\right )}}, \frac {{\left ({\left (2 \, a - b\right )} \cos \left (d x + c\right )^{4} - 2 \, {\left (2 \, a - b\right )} \cos \left (d x + c\right )^{2} + 2 \, a - b\right )} \sqrt {-a} \arctan \left (\frac {\sqrt {b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b} \sqrt {-a}}{a}\right ) - \sqrt {b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b} {\left (4 \, a \cos \left (d x + c\right )^{2} - 3 \, a\right )}}{4 \, {\left (a^{2} d \cos \left (d x + c\right )^{4} - 2 \, a^{2} d \cos \left (d x + c\right )^{2} + a^{2} d\right )}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cot \left (d x + c\right )^{5}}{\sqrt {b \sin \left (d x + c\right )^{4} + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 1.88, size = 0, normalized size = 0.00 \[ \int \frac {\cot ^{5}\left (d x +c \right )}{\sqrt {a +b \left (\sin ^{4}\left (d x +c \right )\right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.69, size = 166, normalized size = 1.54 \[ -\frac {\frac {2 \, \sqrt {b \sin \left (d x + c\right )^{4} + a} b}{{\left (b \sin \left (d x + c\right )^{4} + a\right )} a - a^{2}} - \frac {2 \, \log \left (\frac {\sqrt {b \sin \left (d x + c\right )^{4} + a} - \sqrt {a}}{\sqrt {b \sin \left (d x + c\right )^{4} + a} + \sqrt {a}}\right )}{\sqrt {a}} + \frac {b \log \left (\frac {\sqrt {b \sin \left (d x + c\right )^{4} + a} - \sqrt {a}}{\sqrt {b \sin \left (d x + c\right )^{4} + a} + \sqrt {a}}\right )}{a^{\frac {3}{2}}} - \frac {8 \, \sqrt {b \sin \left (d x + c\right )^{4} + a}}{a \sin \left (d x + c\right )^{2}}}{8 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\mathrm {cot}\left (c+d\,x\right )}^5}{\sqrt {b\,{\sin \left (c+d\,x\right )}^4+a}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cot ^{5}{\left (c + d x \right )}}{\sqrt {a + b \sin ^{4}{\left (c + d x \right )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________